StoreEngine\Classes\Order\AbstractOrderItem S

Total Complexity 50
Dependencies 7
Dependents 2
Total lines 372
Lines of code 168
Logical lines of code 83
Comment lines 136
Methods 18
Properties 8

Methods 18

Method Rating Maintainability Complexity Lines of code
get_formatted_metadata()
B
43 18 39
calculate_taxes()
S
52 6 23
update()
S
52 4 26
create()
S
57 3 17
clear_caches()
S
65 3 9
get_order()
S
74 3 4
is_attribute_in_product_name()
S
72 2 4
get_order_id_by_order_item_id()
S
66 1 9
get_order_item_type()
S
66 1 9
apply_changes()
S
76 1 4
get_order_id()
S
79 1 3
get_name()
S
79 1 3
get_quantity()
S
82 1 3
get_tax_status()
S
82 1 3
get_tax_class()
S
82 1 3
set_order_id()
S
79 1 3
set_name()
S
79 1 3
get_all_formatted_metadata()
S
79 1 3